package com.hp.springaop02;

import org.springframework.stereotype.Component;

/**
 * 程序员
 */
@Component
public class Programmer {

    public void study(){
        System.out.println("程序员在学技术");
    }

    public void program(){
        System.out.println("程序员在敲代码");
    }

    public void walk(int speed){
        System.out.println("程序员在走路,速度是"+speed);
        int x = speed / 0;
    }
}
